<%--
  Created by IntelliJ IDEA.
  User: cherishy
  Date: 2020/7/29
  Time: 16:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>主页</title>
    <style>
        a{
            text-decoration: none;
            color: black;
            font-size: 18px;
        }
        h3{
            width: 180px;
            height: 38px;
            margin: 40px auto;
            line-height: 38px;
            background: darkgray;
            border-radius: 5px;
        }
        h4{
            width: 180px;
            height: 38px;
            margin: 10px auto;
            line-height: 38px;
            background: #D9534F;
            border-radius: 5px;
        }
    </style>
</head>
<body style="text-align: center">
<h2>${userInfo.userName},欢迎你</h2>

<h3>
    <a href="${pageContext.request.contextPath}/book/getBooks">进入书籍页面</a>
</h3>
<h4>
    <a href="${pageContext.request.contextPath}/user/logout">注销</a>
</h4>
</body>
</html>
